<template>
  <div>
    <button
      style="position: relative; z-index: 9999"
      @click="adminlogin()"
      value="按钮"
    >
      annn
    </button>
  </div>
</template>

<script>
  import {test} from '../api'
const axios = require('axios');
export default {
  methods: {
    adminlogin() {          
                test(0,2).then(res => {
                    console.log('1111')
                    console.log(res)
                }).catch(err => {
                    console.log(err)
                })
            


    },
  },
};
</script>

<style>
</style>